package com.test.sdk.scripts.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

import com.test.sdk.scripts.pojo.QuartzScripts;

@Mapper
public interface QuartzScriptsDao {
    int insert(@Param("pojo") QuartzScripts pojo);

    int update(@Param("pojo") QuartzScripts pojo);

    List<QuartzScripts> getAllScripts(Integer status);

    QuartzScripts getScriptById(Integer id);
}
